package com.company.jrlz.entity;

import com.haulmont.cuba.core.entity.StandardEntity;

import javax.persistence.Column;
import javax.persistence.Entity;
import javax.persistence.Table;

@Table(name = "JRLZ_FACTORY")
@Entity(name = "jrlz_Factory")
public class Factory extends StandardEntity {
    private static final long serialVersionUID = -6352734461365486259L;

    @Column(name = "FACTORY_NAME")
    private String factoryName;

    @Column(name = "FACTORY_CODE")
    private String factoryCode;

    public String getFactoryCode() {
        return factoryCode;
    }

    public void setFactoryCode(String factoryCode) {
        this.factoryCode = factoryCode;
    }

    public String getFactoryName() {
        return factoryName;
    }

    public void setFactoryName(String factoryName) {
        this.factoryName = factoryName;
    }
}